/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.service;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.BloomfilterGroup;
import com.duowan.realtime.query.BloomfilterGroupQuery;


/**
 * [BloomfilterGroup] 的业务操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */
public interface BloomfilterGroupService {

	/** 
	 * 创建BloomfilterGroup
	 **/
	public BloomfilterGroup create(BloomfilterGroup bloomfilterGroup);
	
	/** 
	 * 更新BloomfilterGroup
	 **/	
    public BloomfilterGroup update(BloomfilterGroup bloomfilterGroup);
    
	/** 
	 * 删除BloomfilterGroup
	 **/
    public void removeById(int id);
    
    
	/** 
	 * 根据ID得到BloomfilterGroup
	 **/    
    public BloomfilterGroup getById(int id);
    
	/** 
	 * 分页查询: BloomfilterGroup
	 **/      
	public Page<BloomfilterGroup> findPage(BloomfilterGroupQuery query);
	
	/**
	 * 查询所有Bloomfilter Group
	 * @return
	 */
    public List<BloomfilterGroup> getAll();
    
    public boolean checkBloomFilterExists(String bloomfilterGroup);
    
    public BloomfilterGroup getByBloomfilterGroup(String bloomfilterGroup);
    
    public List<BloomfilterGroup> getMetaDatas();
}
